package com.zeldu.teacher.homework.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("homework_student")
public class Student_HomeWrok {

    private static final long serialVersionUID = 1L;

    /*
     *
     * */
    @TableId(value = "ID",type = IdType.ID_WORKER)
    private Long id;
    /*
     *
     * */
    @TableField(value = "homework_id")
    private Long homeworkId;

    @TableField(value = "sutdent_id")
    private Long sutdentId;
    /*
     *
     * */
    @TableField(value = "STATUS")
    private int status;
    /*
     *
     * */
    @TableField(value = "score")
    private String score;
    /*
     *
     * */
    @TableField(value = "homework_content")
    private String homeworkContent;
    /*
     *
     * */
    @TableField(value = "homework_name")
    private String homeworkName;
    /*
     *
     * */
    @TableField(value = "start_time")

    private Timestamp startTime;

    @TableField(value = "end_time")
    private Timestamp endTime;


    @TableField(value = "do_time")

    private Timestamp doTime;

    @TableField(value = "done_time")
    private Timestamp doneTime;

    @TableField(value = "my_answer")
    private String myAnswer;


}
